Skip to content

datepicker: parseDate is now case insensitive #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

AndrewNewcomb
Copy link
Contributor

The parseDate function was case sensitive.
When opening based on a textbox of '01 Mar 2010' it correctly showed that date.
When opening based on a textbox of '01 mar 2010' it did not recognise the date and showed today's date instead.

I've changed this behaviour so that when comparing against the array of names it now converts both sides of the comparison to lower case.

@scottgonzalez
Copy link
Member

Thanks for this fix.

Please file a bug for this at http://dev.jqueryui.com/newticket (requires registration) and update your commit message based on http://wiki.jqueryui.com/Commit-Message-Style-Guide.

@AndrewNewcomb
Copy link
Contributor Author

I thought the commit message was in the correct format. What have I missed?

@scottgonzalez
Copy link
Member

Sorry, I didn't see the whole commit message because of the view I was in. You've done everything right.

Landed in 590e03c. Thanks.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants